package com.zhixiang.xaec.entity.performance.safeachievements;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.cfg.Comment;
import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name="perf_InternalAssess")
@Comment("内部自评")
public class InternalAssess  extends BaseEntity{

    //外键自评设置的模板Id
    private Long ratingProjectSetTreeId;
    
    //外键自评设置的模板名称
    private String ratingProjectSetTreeName;
   
    //自评/评审开始时间
    private Date startReviewDate;
    
    //自评/评审结束时间
    private Date endReviewDate;
    
    //自评/评审组组长
    private String groupLeader;
    
    //自评/评审组主要成员
    private String groupMember;
    
    //标准化得分
    private Float standardScore;
    
    //自评得分
    private Float sumScore;
    
    //自评填写人
    private String inputName;
    
    //自评日期
    private Date scoreDate;
    
    @Column(length=15)
    @Comment("自评/评审开始时间")
    @JSON(format="yyyy-MM-dd")
    public Date getStartReviewDate() {
        return startReviewDate;
    }
    public void setStartReviewDate(Date startReviewDate) {
        this.startReviewDate = startReviewDate;
    }
    @Column(length=15)
    @Comment("自评/评审结束时间")
    @JSON(format="yyyy-MM-dd")
    public Date getEndReviewDate() {
        return endReviewDate;
    }
    public void setEndReviewDate(Date endReviewDate) {
        this.endReviewDate = endReviewDate;
    }
    @Column(length=200)
    @Comment("自评/评审组组长")
    public String getGroupLeader() {
        return groupLeader;
    }
    public void setGroupLeader(String groupLeader) {
        this.groupLeader = groupLeader;
    }
    @Column(length=200)
    @Comment("自评/评审组主要成员")
    public String getGroupMember() {
        return groupMember;
    }
    public void setGroupMember(String groupMember) {
        this.groupMember = groupMember;
    }
    @Column(precision=10,scale=2)
    @Comment("标准化得分")
    public Float getStandardScore() {
        return standardScore;
    }
    public void setStandardScore(Float f) {
        this.standardScore = f;
    }
    @Column(precision=10,scale=2)
    @Comment("自评得分")
    public Float getSumScore() {
        return sumScore;
    }
    public void setSumScore(Float sumScore) {
        this.sumScore = sumScore;
    }
    @Column(length=50)
    @Comment("自评填写人")
    public String getInputName() {
        return inputName;
    }
    public void setInputName(String inputName) {
        this.inputName = inputName;
    }
    
    @Comment("外键自评设置的模板Id")
    public Long getRatingProjectSetTreeId() {
        return ratingProjectSetTreeId;
    }
    public void setRatingProjectSetTreeId(Long ratingProjectSetTreeId) {
        this.ratingProjectSetTreeId = ratingProjectSetTreeId;
    }
    
    @Comment("外键自评设置的模板名称")
    public String getRatingProjectSetTreeName() {
        return ratingProjectSetTreeName;
    }
    public void setRatingProjectSetTreeName(String ratingProjectSetTreeName) {
        this.ratingProjectSetTreeName = ratingProjectSetTreeName;
    }
    
    @Comment("评分日期")
    @JSON(format="yyyy-MM-dd")
    public Date getScoreDate() {
        return scoreDate;
    }

    public void setScoreDate(Date scoreDate) {
        this.scoreDate = scoreDate;
    }
   
}
